package com.rr.learningdemo.thread;

/**
 * @author RR
 * @date 2021/3/18 21:55
 */
public class RunTwiceTest {
    public static void main(String[] args) {
        Thread t = new Thread(() -> System.out.println("run"));
        t.start();
        //start两次会报错
        t.start();
    }
}
